package com.yuetong.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuetong.common.annotation.Excel;
import com.yuetong.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电梯型号管理对象 yt_elevator_models
 *
 * @author  卓晓君
 * @date 2025-03-08
 */
public class YtElevatorModels extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 型号ID */
    private Long modelId;

    /** 品牌ID */
    @Excel(name = "品牌ID")
    private Long brandId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 型号名称 */
    @Excel(name = "型号名称")
    private String model;

    /** 型号描述 */
    @Excel(name = "型号描述")
    private String description;

    /** 载重量 */
    @Excel(name = "载重量")
    private Long capacity;

    /** 运行速度 */
    @Excel(name = "运行速度")
    private BigDecimal speed;

    /** 最大层数 */
    @Excel(name = "最大层数")
    private Long maxFloors;

    /** 最大站数 */
    @Excel(name = "最大站数")
    private Long maxStops;

    /** 最大门数 */
    @Excel(name = "最大门数")
    private Long maxDoors;

    /** 电梯出厂编号 */
    @Excel(name = "电梯出厂编号")
    private String factoryNumber;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setModelId(Long modelId)
    {
        this.modelId = modelId;
    }

    public Long getModelId()
    {
        return modelId;
    }
    public void setBrandId(Long brandId)
    {
        this.brandId = brandId;
    }

    public Long getBrandId()
    {
        return brandId;
    }
    public void setModel(String model)
    {
        this.model = model;
    }

    public String getModel()
    {
        return model;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setCapacity(Long capacity)
    {
        this.capacity = capacity;
    }

    public Long getCapacity()
    {
        return capacity;
    }
    public void setSpeed(BigDecimal speed)
    {
        this.speed = speed;
    }

    public BigDecimal getSpeed()
    {
        return speed;
    }
    public void setMaxFloors(Long maxFloors)
    {
        this.maxFloors = maxFloors;
    }

    public Long getMaxFloors()
    {
        return maxFloors;
    }
    public void setMaxStops(Long maxStops)
    {
        this.maxStops = maxStops;
    }

    public Long getMaxStops()
    {
        return maxStops;
    }
    public void setMaxDoors(Long maxDoors)
    {
        this.maxDoors = maxDoors;
    }

    public Long getMaxDoors()
    {
        return maxDoors;
    }
    public void setFactoryNumber(String factoryNumber)
    {
        this.factoryNumber = factoryNumber;
    }

    public String getFactoryNumber()
    {
        return factoryNumber;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy)
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy()
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("modelId", getModelId())
            .append("brandId", getBrandId())
            .append("model", getModel())
            .append("name", getModel())
            .append("type", getType())
            .append("description", getDescription())
            .append("capacity", getCapacity())
            .append("speed", getSpeed())
            .append("maxFloors", getMaxFloors())
            .append("maxStops", getMaxStops())
            .append("maxDoors", getMaxDoors())
            .append("factoryNumber", getFactoryNumber())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }


}
